﻿using System.Windows.Navigation; 

namespace UltimateNavigationFramework.UriNavigation
{
    /// <summary>
    /// Navigation Frame loading service
    /// </summary>
    public interface IUltimateNavigationFrameLoadingService
    {        
        bool CanGoForward { get; }

        bool CanGoBack { get; }

        event UltimateNavigationFailedEventHandler NavigationFailed;    

        event NavigatingCancelEventHandler Navigating;

        event NavigatedEventHandler Navigated;

        event NavigationStoppedEventHandler NavigationStopped;

        void NavigateUrl(string url, string regionName, UltimateNavigationFrame frame, bool suppressJournalAdd);

        void GoBack(UltimateNavigationFrame host);

        void GoForward(UltimateNavigationFrame host);
    }
}
